package com.cxs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * @ClassName: Student
 * @description:   学生表
 * @author: 诗涵
 * @create: 2024-01-07 08:17
 */
@TableName(value ="t_student")
@Data
public class Student implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 学号，主键
     */
    @TableId(type = IdType.AUTO)
    private Integer sno;

    /**
     * 密码
     */
    private String password;

    /**
     * 姓名
     */
    private String name;

    /**
     * 联系方式
     */
    private String phone;

    /**
     * 性别,1男2女
     */
    private Integer sex;

    /**
     * 班级
     */
    private Integer clazzId;
}
